<?php 
echo $this->form;


$ths = array('Site','Langue','Créé le','Créé par','--');
$trs = array();


$languages=array();
if(isset($this->languages))
foreach($this->languages as $language) {
	$deleteUrl =  '<a href="'.
				$this->url(array('module'=>'admin','controller'=>'system-languages','action'=>'delete-language','id'=>$language['id'])).'">'.
				$this->translate("delete").'</a>';
	$language['urlAction']=$deleteUrl;
	$date = new Zend_Date($language['created']);
	
	$language['created'] = $date;
	unset($language['id']);
	$languages[] = $language;
}


echo $this->wmpTableSorter($ths,$languages);

?>